import React from 'react'
import { Layout, Flex, Fixed } from 'react-layout-pane'
import Header from './header'
import FetchProject from './fetchProject'

export default class labelView extends React.Component {
  componentWillMount() {}

  render() {
    const { match } = this.props
    const { pid } = match.params
    return (
      <Layout type="column">
        <React.Fragment>
          <Fixed className="header">
            <Header />
          </Fixed>
          <Flex className="content">
            <FetchProject pid={pid} />
          </Flex>
        </React.Fragment>
      </Layout>
    )
  }
}
